package com.fddh.springboot.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

//用户的实体类
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {

    //id、名称、性别、角色
    private long id;//编号
    private String username;//帐号
    private String password;//密码
    private String realname;//姓名
    private String phone;//电话
    private String email;//邮箱
    private int sex;//性别(1:男,2:女)
    private int locked;//状态(0:正常,1:锁定)

}



